<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>etsInjectH502页面</title>
</head>
<body>
<div>
    这是etsInjectH502页面
    <button onclick="login()">调用原生登录方法</button>
    <button onclick="callPhone()">调用原生打电话方法</button>
    <h2 id="msgContent">提示</h2>
</div>
</body>
<script >
    function login(){
        if(window.taikeLogin)
        window.taikeLogin.login()
     }
      function callPhone(){
        if(window.taikeOther)
        window.taikeOther.callPhone()
     }

    function sendToH5Msg(msg){
       document.querySelector("#msgContent").innerText = '原生调用H5方法传递的参数是：'+msg
    }
</script>
</html>